/**
 * @description GET /user/profile/one
 */

import { ApiProperty } from '@nestjs/swagger';

class Property {
  @ApiProperty({
    required: true,
  })
  tomato: number;
}

export class ProfileOneReqHeaderDto {
  @ApiProperty({
    required: true,
  })
  token: string;
}

export class ProfileOneResSuccessDto {
  @ApiProperty({
    required: true,
  })
  success: boolean;

  @ApiProperty({
    required: true,
  })
  tag: Array<string>;

  @ApiProperty({
    required: true,
  })
  nickname: string;

  @ApiProperty({
    required: true,
  })
  head_image: string;

  @ApiProperty({
    required: true,
  })
  property: Property;

  @ApiProperty({
    required: true,
  })
  allow_stop: boolean;
}

export class ProfileOneResFailDto {
  @ApiProperty({
    required: true,
    default: false,
  })
  success: boolean;

  @ApiProperty({
    required: true,
  })
  message: string;

  @ApiProperty({
    required: true,
  })
  code: number;
}
